import { request } from './request.js';
//获取耗材列表
export const getMedicalPointList = (params) => {
  return request({
    url: '/Maintain/SelectMedicalPoint/btn-telbooksearch',
    method: 'get',
    params,
  });
};
//新增耗材
export const addMedicalPoint = (data) => {
  return request({
    url: '/Maintain/AddMedicalPoint/btn-medicalPointadd',
    method: 'post',
    data,
  });
};
//修改耗材
export const editMedicalPoint = (data) => {
  return request({
    url: '/Maintain/UpdateMedicalPoint/btn-medicalPointupdate',
    method: 'post',
    data,
  });
};
//删除耗材
export const delMedicalPoint = (params) => {
  return request({
    url: '/Maintain/DeleteMedicalPoint/btn-medicalPointdelete',
    method: 'get',
    params,
  });
};
// 医疗点批量插入
export const addMedicalPointList = (data) => {
  return request({
    url: '/Maintain/AddMedicalPointList/btn-medicalPointload',
    method: 'post',
    data,
  });
};
